package com.demo.bookstore.service;


import com.demo.bookstore.model.BookEntity;

import java.util.List;

public interface BookService {

    List<BookEntity> queryBooks(String name);

    Boolean addBook(BookEntity book);

    List<BookEntity> queryAllByPage(int pageBegin, int pageSize);

    Boolean deleteById(int id);

    int batchInsert(List<BookEntity> bookEntityList);

    Boolean updateBook(BookEntity book);

    String export(BookEntity book);
}
